//
//  Config.h
//  Village
//
//  Created by 程虎 on 2017/9/1.
//  Copyright © 2017年 程虎. All rights reserved.
//

#ifndef Config_h
#define Config_h

/**
 版本
 @return
 */
#define VersionCode @"1.0"

/**
 0 企业级  1 AppStore  AppStore
 @return
 */
#define Application_Types 0

/**
 ip地址
 服务接口地址
 内网
 leap下载地址
 图片验证码
 @return
 */
#define IPURL @"http://59.173.241.186:18881/APP/"
//#define IPURL @"http://59.173.241.186:18882/Studio/"
#define ServiceURL [NSString stringWithFormat:@"%@restservices/",IPURL]
#define LeapUrl [NSString stringWithFormat:@"%@",IPURL]
#define IMGCodeURL [NSString stringWithFormat:@"%@logic/va/123.jpg",IPURL]
#define UpdateURL [NSString stringWithFormat:@"%@restservices/leap/studiov2_getAppVersion/query",IPURL]
//加密key

#define passkey @"s(p7~;j^"
//下载网页
#define DownLoadURL_AppStore @""
#define DownLoadURL @"https://qcda.96520.com/zhejiang_webmap/zhejiang_company"

//百度统计
#define APPBaiduStat @"af7a02dda4"

#define PostedTypeAry @[@{@"code3":@"010101",@"name3":@"农村生活"},@{@"code3":@"010201",@"name3":@"情感交友"},@{@"code3":@"010301",@"name3":@"致富有道"},@{@"code3":@"010401",@"name3":@"特产美食"},@{@"code3":@"010501",@"name3":@"农村旅游"},@{@"code3":@"010601",@"name3":@"劳务信息"},@{@"code3":@"010701",@"name3":@"寻人寻物"}]

/**
 --------------------------     接口URL    ------------------------------
 */
//----------------------------------    注册、登录、忘记密码     ------------------------------

#define RegisterURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_UserRegister/query",ServiceURL]       //注册
#define ForgotURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_Forgot/query",ServiceURL]       //忘记密码
#define RegisterGetMSGCodeURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_PhoneMsgCode/query",ServiceURL] //注册获取短信验证码
#define MatchAccountInfoURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_MatchUserInfo/query",ServiceURL]      //匹配信息
#define AccountLoginURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_UserAccountLogin/query",ServiceURL]      //账号登录
#define PhoneLoginURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_UserPhoneLogin/query",ServiceURL]      //手机号登录
#define UpdateUserInfoURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_UpdateUserInfo/query",ServiceURL]      //修改用户信息
#define ThirdPartyLoginURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_thirdPartyLogin/query",ServiceURL]      //第三方登录
#define AccountBindURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_AccountBind/query",ServiceURL]      //第三方登录绑定
#define getUserInfoURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_getUserInfo/query",ServiceURL]      //获取用户信息

#define updateappFeedbackURL [NSString stringWithFormat:@"%@LCUCContentApi/lcucapp_updateappFeedback/query",ServiceURL]      //意见反馈

//----------------------------------    通知公告    ------------------------------
#define GetAreaIDURL [NSString stringWithFormat:@"%@LCUCAPPApi/lcucapp_getAreaidByCnname/query",ServiceURL]      //区域id
#define UpdatePasswordURL [NSString stringWithFormat:@"%@LCUCAPPUserApi/lcucapp_UpdatePassword/query",ServiceURL]      //修改密码
#define AnnouncementsInfoURL [NSString stringWithFormat:@"%@LCUCNoticeApi/lcucapp_searchlcucbulletin/query",ServiceURL]      //通知公告
#define AddTZGGReadingInfoURL [NSString stringWithFormat:@"%@LCUCNoticeApi/lcucapp_updatelcucrbuiltread/query",ServiceURL]      //增加通知公告阅状态
#define GetTZGGDetailsInfoURL [NSString stringWithFormat:@"%@LCUCNoticeApi/lcucapp_searchlcucreplay/query",ServiceURL]      //通知公告详情
#define ReplayTZGGInfoURL [NSString stringWithFormat:@"%@LCUCNoticeApi/lcucapp_insertlcucreplay/query",ServiceURL]      //回复通知公告

//----------------------------------    文章头条    ------------------------------
#define PostedTypeURL [NSString stringWithFormat:@"%@LCUCContentApi/lcucapp_searchlcucessaytype/query",ServiceURL]      //发布文章类型
#define PostedNewsURL [NSString stringWithFormat:@"%@LCUCContentApi/lcucapp_insertlcucappessay/query",ServiceURL]      //发布文章
#define HomeBannerInfoURL [NSString stringWithFormat:@"%@LCUCContentApi/lcucapp_searchessay/query",ServiceURL]      //首页banner
#define HomeHeadlineInfoURL [NSString stringWithFormat:@"%@LCUCContentApi/lcucapp_searchHotessay/query",ServiceURL]      //首页头条文章
#define HeadlineNewsInfoURL [NSString stringWithFormat:@"%@LCUCContentApi/lcucapp_searchlcucappessay/query",ServiceURL]      //文章头条文章
#define AddHeadlineNewsReadNumURL [NSString stringWithFormat:@"%@LCUCContentApi/lcucapp_updateappessaynum/query",ServiceURL]      //增加头条文章阅读数
#define GetMyArticlesListURL [NSString stringWithFormat:@"%@LCUCContentApi/lcucapp_searchmyappessay/query",ServiceURL]      //我的文章


//----------------------------------政策法规------------------------------
#define searchporegulationsURL [NSString stringWithFormat:@"%@LCUCNoticeApi/lcucapp_searchporegulations/query",ServiceURL]      //政策法规查询
#define updateporegulationsURL [NSString stringWithFormat:@"%@LCUCNoticeApi/lcucapp_updateporegulations/query",ServiceURL]      //(政策法规)更新阅读次数

//-------------------------------绑定我的村落---------------------------------
#define getOrgInfoURL [NSString stringWithFormat:@"%@LCUCVillageApi/lcucapp_getOrgInfo/query",ServiceURL]      //村落信息
#define bangdinareaidURL [NSString stringWithFormat:@"%@LCUCVillageApi/lcucapp_bangdinareaid/query",ServiceURL]      //绑定我的村落
#define searchPovareaidURL [NSString stringWithFormat:@"%@LCUCVillageApi/lcucapp_searchPovareaid/query",ServiceURL]      //查询区域
#define searchCcareaidURL [NSString stringWithFormat:@"%@LCUCVillageApi/lcucapp_searchCcareaid/query",ServiceURL]      //根据上级区域选下级区域


#endif /* Config_h */
